.login-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1890ff 0%, #1677ff 100%);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 25% 100%, 0 75%);
  opacity: 0.85;
}

.login-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #40a9ff 0%, #69c0ff 100%);  clip-path: polygon(15% 0, 100% 0, 100% 85%, 35% 100%, 0 85%);
  opacity: 0.5;
}

.particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.login-card:hover {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  color: rgba(0, 0, 0, 0.88) !important;
  font-size: 28px !important;
  margin-bottom: 8px !important;
  font-weight: 600 !important;
}

.login-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

.login-form {
  margin-top: 24px;
}

.login-input {
  height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(22, 119, 255, 0.25) !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s ease !important;
}

.login-input:hover {
  border-color: #1677ff !important;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.15) !important;
}

.login-input:focus {
  border-color: #1677ff !important;
  box-shadow: 0 0 0 2px rgba(22, 119, 255, 0.2) !important;
}

.input-icon {
  color: #1677ff;
  opacity: 0.5;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
  padding: 0 2px;
}

.remember-checkbox {
  color: #666;
  flex: 0 0 auto;
}

.login-form-forgot {
  color: #1677ff;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  flex: 0 0 auto;
  margin-left: 95px;
}

.login-form-forgot:hover {
  opacity: 1;
}

.login-button {
  height: 44px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  background: linear-gradient(90deg, #1677ff 0%, #4096ff 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3) !important;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes aurora {
  0% { transform: rotate(0deg) translateY(0) translateX(-50%); }
  100% { transform: rotate(360deg) translateY(0) translateX(-50%); }
}

.stars-container {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.star:nth-child(1) { left: 10%; top: 20%; animation-delay: 0.1s; }
.star:nth-child(2) { left: 20%; top: 40%; animation-delay: 0.3s; }
.star:nth-child(3) { left: 30%; top: 30%; animation-delay: 0.5s; }
.star:nth-child(4) { left: 40%; top: 60%; animation-delay: 0.7s; }
.star:nth-child(5) { left: 50%; top: 25%; animation-delay: 0.9s; }
.star:nth-child(6) { left: 60%; top: 45%; animation-delay: 1.1s; }
.star:nth-child(7) { left: 70%; top: 35%; animation-delay: 1.3s; }
.star:nth-child(8) { left: 80%; top: 55%; animation-delay: 1.5s; }
.star:nth-child(9) { left: 90%; top: 15%; animation-delay: 1.7s; }
.star:nth-child(10) { left: 15%; top: 85%; animation-delay: 1.9s; }
.star:nth-child(11) { left: 25%; top: 75%; animation-delay: 2.1s; }
.star:nth-child(12) { left: 35%; top: 10%; animation-delay: 2.3s; }
.star:nth-child(13) { left: 45%; top: 90%; animation-delay: 2.5s; }
.star:nth-child(14) { left: 55%; top: 80%; animation-delay: 2.7s; }
.star:nth-child(15) { left: 65%; top: 70%; animation-delay: 2.9s; }

.aurora-container {
  position: fixed;
  top: -50%;
  left: 50%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  opacity: 0.3;
}

.aurora {
  position: absolute;
  width: 200%;
  height: 200%;
  border-radius: 40%;
  filter: blur(60px);
  animation: aurora 20s linear infinite;
}

.aurora:nth-child(1) {
  background: linear-gradient(90deg, rgba(22, 119, 255, 0.15), rgba(63, 218, 255, 0.15));
  animation-duration: 25s;
}

.aurora:nth-child(2) {
  background: linear-gradient(90deg, rgba(120, 158, 255, 0.15), rgba(130, 255, 233, 0.15));
  animation-duration: 30s;
  animation-delay: -5s;
}

.aurora:nth-child(3) {
  background: linear-gradient(90deg, rgba(172, 206, 255, 0.15), rgba(135, 147, 255, 0.15));
  animation-duration: 35s;
  animation-delay: -10s;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .login-card {
        margin: 20px;
        padding: 24px;
    }

    .login-title {
        font-size: 24px !important;
    }

    .login-input {
        height: 40px !important;
    }

    .login-button {
        height: 40px !important;
    }
}